/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package katel2;

/**
 *
 * @author GustavoKatel_
 */
public class Circulo {

    private double raio, x, y;
    
    public double getRaio()
    {
        return this.raio;
    }
    
    public void setRaio(double r)
    {
        this.raio = r;
    }
    
    public double getX()
    {
        return this.x;
    }
    
    public void setX(double x)
    {
        this.x = x;
    }
    
    public double getY()
    {
        return this.y;
    }
    
    public void setY(double y)
    {
        this.y = y;
    }
    
    public double comprimento()
    {
        return 2 * Math.PI * this.raio;
    }
    
    public double area()
    {
        return Math.PI * Math.pow(this.raio, 2); //ou this.raio * this.raio
    }
}
